#! /usr/bin/python
#coding=UTF-8 
"""
    File:       NeoCUConfig.py
    Brief:      hold configure information about NeoCU
    Author:     Xu Qiang
    Version:    1.0
    Date:       2017-07-25
"""
__author__= """Xu Qiang"""

NeoCU_Config = { "User":"AutoUser",\
               "UserOldPassword":"Hoe1233@!1", \
               "UserNewPassword":"Hoe1233@!",\
               "UserName":"XuQiang",\
               "Useremail":"xuqiang@huayun.com",\
               "Usermobile":"15061862933",\
               "UserNewPassword":"Hoe1233@!",\
               #项目
               "ProjectName":"AutoP",\
               "ProjectDec":"Auto_project for demo",\
               #私有网络
               "net":"TestPrivateNetwork",\
               "subnet":"PrivateNet_sub",\
               "idcidr":"192.168.0.0/20",\
               "idgateway_ip":"192.168.0.1",\
               
               "net_01":"PrivateNetwork_01",\
               "subnet_01":"subNet_01",\
               "idcidr_01":"172.16.1.1/20",\
               "idgateway_ip_01":"172.16.1.1",\
			   "Addresspools":"172.16.1.2,172.16.1.254",\
               "Newnet_01":"PrivateNetwork_02",\
 
               #云主机 
               "Server_name":"TestServer",\
               "Server_Newname":"TestServer_01",\
               "Server_Count":"1",\
               "Server_flavorstype":"普通型",\
               "Server_flavor":"m1.small(cpu：1，ram：2048 MB，disk：20GB)",\
               "Server_sourcetype":"镜像",\
               "Server_souceimages":"vm_linux_centos_7.2_64_20G(20GB)",\
               "Server_textContent":"mkdir test",\
               "Server_adminpassword":"Abcd1234",\
               #镜像
               "Template_name":"TestTemplate",\
               "Template_Newname":"TestTemplate_01",\
               "Template_Dec":"Auto Test",\
               "Template_CreateName":"CreateTemplate",\
               "Template_CreateDec":"Auto xxxxxxx",\
			   "Template_OSType":"CentOS_7.x",\

               #快照
               "SnapShot_name":"TestSnapshot",\
               #热升级配置
               "Hot_cpu":"2",\
               "Hot_mem":"4096",\
               #修改密码
               "ServerNewPW":"Xu1990",\
               #云硬盘
               "CinderName":"TestCinder",\
               "CinderDes":"Auto  Test Cinder",\
               "CinderSize":"2",\
               
               "CinderName_1":"TestCinder_01",\
               "CinderDes_1":"Auto  Test Cinder",\
               "CinderSize_1":"2",\
               "CinderNewName":"TestCinder_02",\
               "CinderNewDes":"Auto  Test Cinder  xxx",\
               "Cinder_SnapshotName":"Cinder2Snapshot",\
               "Cinder_SnapshotDec":"Cinder2SnapshotDec",\
               "CinderSize_NewSize":"5",\
               #快照创建云主机配置 
               "SnapshotServer_name":"Snapshot_Server",\
               "SnapshotServer_Count":"1",\
               "SnapshotServer_flavorstype":"General",\

               "SnapshotServer_flavor":"m1.small(cpu：1，ram：2048 MB，disk：20GB)",\
               "SnapshotServer_textContent":"mkdir test",\
               "SnapshotServer_adminpassword":"Abcd1234",\
               #镜像创建云主机配置 
               "ImageServer_name":"Image_Server",\
               "ImageServer_Count":"1",\
               "ImageServer_flavorstype":"普通型",\
               "ImageServer_flavor":"m1.small(cpu：1，ram：2048 MB，disk：20GB)",\
               "ImageServer_textContent":"mkdir test",\
               "ImageServer_adminpassword":"Abcd1234",\
               #镜像创建云硬盘配置 
               "ImageCinder_name":"Image_Cinder",\
               "ImageCider_dec":"Auto Test",\
               "ImageCinder_size":"20",\
               #快照创建云硬盘配置 
               "SnapshotCinder_name":"Snapshot_Cinder",\
               "SnapshotCinder_dec":"Snapshot  2 Cinder",\
               "SnapshotCinder_size":"5",\
               "SnapshotCinder_Newname":"Snapshot_CinderNew",\
               "SnapshotCinder_Newdec":"Snapshot  2 Cinder New",\
               #路由配置 
               "Router_name":"Router_01",\
               "Router_Newname":"Router_02",\
               #公网配置 
               "PublicNet_name":"provider",\
               "PublicSubNet_name":"provider",\
               #Qos配置 
               "QosName_01":"Qos_01",\
               "QosDec_01":"QOS Des auto",\
               "QosRate_01":"3",\
               "QosNewName":"Qos_02",\
               "QosNewDec":"QOS Des auto 2",\
               "QosNewRate":"4",\
               #防火墙配置 
               "FirewallName_01":"Firewall_01",\
               "FirewallDec_01":"Firewall_01 auto",\
               "FirewallNewName":"Firewall_02",\
               "FirewallNewDec":"Firewall_02 auto",\
               #密钥对配置 
               "KeyPairName_01":"KeyPair_01",\
               #负载均衡配置 
               "CLBName_01":"Clb_01",\
               "CLBDuplicate_01":"1",\
               "CLBMaxCon_01":"5",\
               "CLBDec_01":"Test CLB",\
               
               "CLBNewName":"Clb_02",\
               "CLBNewDuplicate":"2",\
               "CLBNewMaxCon":"10",\
#                "CLBHA_01":"Clb_01",\
               "CLBNewDec":"Test CLB xxxxxx",\
               #后端配置
                "BackEndName_01":"BackEnd_01",\
               "BackEndIP_01":"192.168.0.1",\
               "BackEndPort_01":"8000",\
               "BackEndDec_01":"Test BackEnd",\
               
               "BackEndNewName":"BackEnd_02",\
               "BackEndNewIP":"192.168.0.2",\
               "BackEndNewPort":"8080",\
               "BackEndNewDec":"Test BackEnd xxxxxx",\
               #证书配置
               "CerName_01":"Cer_01",\
               "CerPublicKey_01":"""-----BEGIN CERTIFICATE----- 
MIICijCCAfOgAwIBAgIJAO/BsIqOCtj4MA0GCSqGSIb3DQEBBQUAMF0xEjAQBgNV 
BAoMCUJpbmdvc29mdDESMBAGA1UEBwwJR3VhbmdaaG91MRIwEAYDVQQIDAlHdWFu 
Z0RvbmcxCzAJBgNVBAYTAkNOMRIwEAYDVQQDDAkxMjcuMC4wLjEwIBcNMTMwMjI2 
MDgxODUwWhgPMjExMzAyMDIwODE4NTBaMF0xEjAQBgNVBAoMCUJpbmdvc29mdDES 
MBAGA1UEBwwJR3VhbmdaaG91MRIwEAYDVQQIDAlHdWFuZ0RvbmcxCzAJBgNVBAYT 
AkNOMRIwEAYDVQQDDAkxMjcuMC4wLjEwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJ 
AoGBAL5c4gzKw3/rLJNe+z7b7sMPIo4JDD06bHwGiKJuZyY5koMmOkg+DmYLx4EQ 
NfHYNWnzjzeqF9HxFT5XaaurA/Q+7JJZT5lGkhlKeJ9IwRLfKQsVmsWTj7WiXP5E 
rNUjGKJQv7DQEg7Scm5iWvmKLPywcQLQkLvX8WFMR4H17SrbAgMBAAGjUDBOMB0G 
A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qJIlsYq 
jODFRwRmLUSaYHVajQJBAJ6kBxMJYROH2mCH9oQLzI+DEKNJQQ1MXiqIFTnfZeLi 
6qUUWmhY5oHHmQssk3zhJpf1xTQdaIcRukScS0wrPcs= 
-----END RSA PRIVATE KEY----- """,\
               "CerDec_01":"Test certificate",\
               "CerNewName":"Cer_02",\
               "CerNewDec":"Test certificate xxxx",\
               #Redis配置
               "CacheName_Prefix":"DBaaS_",\
               "CacheName_01":"Cache_01",\
               "CacheSize_01":"m1.small",\
               "CacheVesion_01":"Redis3.2",\
               "CacheHAMode_01":"Redis单机版",\
               "CacheNewName":"Cache_02",\
              }
